package com.dragon.logical.service.customer;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.repository.entity.Goods;

/**
 * <p>
 * 产品 表 服务类
 * </p>
 *
 * @author sy
 * @since 2023-06-30
 */
public interface IGoodsService extends IService<Goods> {

    Page<Goods> goodsList(Integer page, Integer limit, String search);

    Integer addGoods(Goods goods);

    void updateGoods(Goods goods);

    void deleteGoods(Integer id);
}
